package com.weixing.mall.pay.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/7/24 14:14
 * @Modified By:
 */
@Data
@ConfigurationProperties(prefix = "pay")
@Configuration
public class PayProperties {
    /**
     * 配置文件读取位置：prop  配置文件   db  数据库
    */
    private String paramFrom = "prop";
    private AliPayProperties ali;
    private WxPayProperties wx;


    public class ParamFromEnum {
       public static final String  PROP = "prop";

        public static final String  DB = "db";
    }
}
